-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Added tests for unsupported braces in custom format specifiers. #35820
Added tests for unsupported braces in custom format specifiers. #35820
Conversation
CustomFormatter was modified to track the last format string passed in.
@karelz I don't really know how the back and forth process works - the other PR was accepted, so how do I get it to rerun the tests against that? |
inner loop testing = what anyone can run locally :) |
Yes I ran them locally. The issue here is they are failing in CI. |
@mikernet and they will be until CoreCLR PR is merged and ingested in CoreFX :) |
I guess then it's waiting on #36480 (or its successor) |
@mikernet seems you aren't blocked anymore, do you need any help to get this ready? |
/azp run corefx-ci |
Azure Pipelines successfully started running 1 pipeline(s). |
@ViktorHofer I'm not really sure what you need me to do here. The tests compile and run successfully on my system with the changes in the other referenced PR. |
The test is failing on OSX:
|
I don't know enough about how this build system works to figure out why that would be. If OSX is running the latest .NET Core string builder code that I modified in the referenced PR then there's no reason for it to fail - it's running the same code as the windows and linux builds. If the OSX test runs some other version of .NET / .NET Core then that test will need to be excluded from running on OSX. There's an exclusion on that test for .NET Framework since that won't get the StringBuilder changes, so the test is marked with |
Looking at the new results rolling in something odd is clearly going on and I don't really know why the new StringBuilder code doesn't seem to be running everywhere. |
Has the referenced PR even been merged yet? It is showing as open so I'm not sure what you want me to do. |
The stranger thing to me is that Why anything that isn't NETFX is passing I have no idea. That additional test should be failing anything not running the new StringBuilder code. This is all very confusing. |
… specifiers (#23062) * Modified format logic so that braces are not allowed in custom format specifiers. * Disabled failing test temporarily and fixed code style issue. PR needed to pass test: dotnet/corefx#35820 * Slight changes to logic to better align the diff. * Fixed counting error. * Fix nullable * Move exclusion near related test * Add skip to new issue file * Delete CoreFX.issues.json
… specifiers (dotnet#23062) * Modified format logic so that braces are not allowed in custom format specifiers. * Disabled failing test temporarily and fixed code style issue. PR needed to pass test: dotnet#35820 * Slight changes to logic to better align the diff. * Fixed counting error. * Fix nullable * Move exclusion near related test * Add skip to new issue file * Delete CoreFX.issues.json Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
… specifiers (#23062) * Modified format logic so that braces are not allowed in custom format specifiers. * Disabled failing test temporarily and fixed code style issue. PR needed to pass test: dotnet/corefx#35820 * Slight changes to logic to better align the diff. * Fixed counting error. * Fix nullable * Move exclusion near related test * Add skip to new issue file * Delete CoreFX.issues.json Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
… specifiers (#23062) * Modified format logic so that braces are not allowed in custom format specifiers. * Disabled failing test temporarily and fixed code style issue. PR needed to pass test: #35820 * Slight changes to logic to better align the diff. * Fixed counting error. * Fix nullable * Move exclusion near related test * Add skip to new issue file * Delete CoreFX.issues.json Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
… specifiers (#23062) * Modified format logic so that braces are not allowed in custom format specifiers. * Disabled failing test temporarily and fixed code style issue. PR needed to pass test: dotnet/corefx#35820 * Slight changes to logic to better align the diff. * Fixed counting error. * Fix nullable * Move exclusion near related test * Add skip to new issue file * Delete CoreFX.issues.json Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
… specifiers (#23062) * Modified format logic so that braces are not allowed in custom format specifiers. * Disabled failing test temporarily and fixed code style issue. PR needed to pass test: dotnet/corefx#35820 * Slight changes to logic to better align the diff. * Fixed counting error. * Fix nullable * Move exclusion near related test * Add skip to new issue file * Delete CoreFX.issues.json Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
… specifiers (#23062) * Modified format logic so that braces are not allowed in custom format specifiers. * Disabled failing test temporarily and fixed code style issue. PR needed to pass test: dotnet/corefx#35820 * Slight changes to logic to better align the diff. * Fixed counting error. * Fix nullable * Move exclusion near related test * Add skip to new issue file * Delete CoreFX.issues.json Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
I just finally got it merged yesterday. Hopefully the next CoreCLR integration will have the change- I'll keep an eye out for it. |
Cherry-picked into #37953. Thanks. |
… specifiers (dotnet/coreclr#23062) * Modified format logic so that braces are not allowed in custom format specifiers. * Disabled failing test temporarily and fixed code style issue. PR needed to pass test: dotnet/corefx#35820 * Slight changes to logic to better align the diff. * Fixed counting error. * Fix nullable * Move exclusion near related test * Add skip to new issue file * Delete CoreFX.issues.json Commit migrated from dotnet/coreclr@5d8fea0
Test modifications for issue #35167 with related coreclr PR for the associated StringBuilder modifications here:
dotnet/coreclr#23062